package io.finer.erp.jeecg.purchase.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.finer.erp.jeecg.purchase.entity.PurchaseRequestLine;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.finer.erp.jeecg.purchase.vo.PurchaseRequestLinePage;
import io.finer.erp.jeecg.purchase.vo.PurchaseRequestPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 采购申请行 Mapper 接口
 * </p>
 *
 * @author yaoyifan
 * @since 2021-04-12
 */
public interface PurchaseRequestLineMapper extends BaseMapper<PurchaseRequestLine> {
    public List<PurchaseRequestLinePage> selectPurchaseRequestLinePageByMid(@Param("mid") String mid);
    public IPage<PurchaseRequestPage> selectPurchaseRequestLinePage(Page page, @Param(Constants.WRAPPER) Wrapper<PurchaseRequestLinePage> queryWrapper);
}
